package rewardsonline;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

import config.AppConfig;
import config.DbConfig;

/**
 * TODO-01: Run this application to make sure it works. Use
 * Run As -> Spring Boot App.
 * 
 * Access the home page at http://localhost:8080 and you should
 * see the same application that you built in mvc-getting-started.

 * Now Click on "Accounts" and then on the "Show as Excel" link. Notice the
 * URL ends in .xls, but you get HTML anyway.
 *
 * WARNING: You must restart the server every time you modify config files.
 */

@SpringBootApplication
@Import({AppConfig.class, DbConfig.class})
public class BootLabApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(BootLabApplication.class, args);
	}
}